package com.meida.module.bus.client.entity.srmapi.psmtosrm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 订单信息同步
 * @author both
 * @date 2020-09-26
 *  *  *
 */
@Data
@Accessors(chain = true)
@ApiModel(value="importObject", description="订单信息同步")
@EqualsAndHashCode(callSuper = false)
@ToString
public class PmsSrm04 implements Serializable {
    private static final long serialVersionUID=1L;
    @ApiModelProperty("采购订单号")
    private String purchaseOrderNo;

    @ApiModelProperty("采购订单ID")
    private Long purchaseOrderId;

    @ApiModelProperty("合同号")
    private String contractNo;

    @ApiModelProperty("合同ID")
    private Long contractId;

//    @ApiModelProperty("0 材料 1 分包")
//    private int planFlg;
//    @ApiModelProperty("项目编码")
//    private String projectNo;
//    @ApiModelProperty("专业包代码")
//    private String majorCode;
//    @ApiModelProperty("工程包代码")
//    private String packageNo;
    @ApiModelProperty("供应商编码")
    private String vendorNo;

    @ApiModelProperty("订单信息同步-detail")
    private List<PmsSrm04Detail> detail;
}
